wayland: Fix c&p typo in touch capabilities handling.
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 28 Apr 2014 10:58:50 +0000 (12:58 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 6 May 2014 16:37:57 +0000 (18:37 +0200)
gdk/wayland/gdkdevice-wayland.c

index ba87837977614f13fbdfd9982a9ea38ad2e89e2a..0f0cf67a2bbaf6eec0bba1cd81dd38fee156b901 100644 (file)
@@ -1539,7 +1539,7 @@ seat_handle_capabilities (void                    *data,
 
       g_signal_emit_by_name (device_manager, "device-added", device->touch);
     }
-  else if (!(caps & WL_SEAT_CAPABILITY_KEYBOARD) && device->wl_touch)
+  else if (!(caps & WL_SEAT_CAPABILITY_TOUCH) && device->wl_touch)
     {
       wl_touch_destroy (device->wl_touch);
       device->wl_touch = NULL;